package com.lq.schoolshop.dao;

import com.lq.schoolshop.pojo.Pimage;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Author
 * @Date2021/1/20 21:19
 * @Version V1.0
 * 留言板图片
 **/
public interface PimageMapper {
    //根据pid查询图片
    @Select("SELECT * FROM pimage WHERE pid = #{pid}")
    List<Pimage> selAllByPid(@Param("pid") String pid);




}
